#define DEF_MEASURE_P_H
#include "measure.h"
#include "measure_p.h"

BOOL vds6000Measure(U8 *data, S32 size, MeasureResult *result) {
    MeasureParam *measParam = &measureParam;
    BOOL ret = measureDataParse(data, size, measParam);
    if (ret == FALSE) {
        return FALSE;
    }

    measureItemCalc(measParam);
    measureDelayCalc(measParam);
    measureResult(measParam, result);
    return TRUE;
}
